/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved.
 */

package com.xjw.mapper;

import com.xjw.entity.ChessGame;
import com.xjw.entity.ChessGameInfo;

import java.util.List;

/**
 * @author 徐军文
 * @since 2021/7/1 22:42
 */
public interface ChessMapper {

     void inserGame(ChessGame chessGame);

     void insertChess(ChessGameInfo chessGameInfo);

     List<ChessGameInfo> getAllChessGame();

     ChessGameInfo getLast2GameInfo(int taskId);

     ChessGameInfo getLastGameInfo(int taskId);

     void deleteLastGameInfo(int taskId);

     String testConnect();

     void customQueryItem(String sqlContent);

}
